<?php
/**
 * Created by PhpStorm.
 * User: meiyun1
 * Date: 2017/2/23
 * Time: 下午2:02
 */

namespace App\Contracts\Repositories;

use App\Models\ActivityModel\ActivityModel;
use App\Models\ActivityModelTemplate\ActivityModelTemplate;

interface ActivityModelTemplateRepository
{
    /**
     * @param ActivityModelTemplate $activityModelTemplate
     * @return mixed
     */
    public function create(ActivityModelTemplate $activityModelTemplate);

    public function findByModel($model_id="");

    public function findOne($id);
}
